
<?php $linkAdd = $this->baseUrl( '/admin/chude/them');?>
<div><a href="<?php echo $linkAdd ?>" title="Add">Thêm mới chủ đề</a></div>

<form id="mainform" action="">
	<table border="0" width="100%" cellpadding="0" cellspacing="0"
		id="product-table">
		<tr>
			<th class="table-header-check"><a id="toggle-all"></a></th>
			<th class="table-header-repeat line-left minwidth-1"><a href="">Tên chủ đề</a></th>

			<th class="table-header-options line-left"><a href="">Options</a></th>
		</tr>
				
				
<?php
foreach ( $this->chude as $chude ) {
	$id = $chude->getId ();
	$tenpb = $chude->getTenchude ();
	$linkEdit = $this->baseUrl ( '/admin/chude/capnhat/id/' . $id );
	$linkDelete = $this->baseUrl ( '/admin/chude/xoa/id/' . $id );
	?>
	<tr>
			<td><input type="checkbox" /></td>
			<td><?php echo $tenpb?></td>

			<td class="options-width"><a href="<?php echo $linkEdit?>"
				title="Edit" class="icon-1 info-tooltip">Edit</a> <a
				href="<?php echo $linkDelete?>" title="Edit"
				class="icon-2 info-tooltip">Delete</a> <a href="" title="Edit"
				class="icon-3 info-tooltip"></a> <a href="" title="Edit"
				class="icon-4 info-tooltip"></a> <a href="" title="Edit"
				class="icon-5 info-tooltip"></a></td>
		</tr>
<?php
}
?>
			</table>
	<!--  end product-table................................... -->
</form>
